Open Issues Need Help
View All on GitHubAI Summary: Create a PHAR (PHP Archive) file for the Cognitive Code Complexity Analysis tool to simplify distribution and avoid dependency conflicts. This involves bundling the tool's code and dependencies into a single executable file.
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Understandability is a huge cost factor because ~80% time is spent on reading and understanding code.
AI Summary: Integrate the cognitive-code-analysis tool into GitHub Actions to automatically analyze code changes in commits and pull requests. The tool should compare code complexity metrics between the before and after states of a commit and provide the results as review comments on the GitHub platform, eliminating the need for manual baseline file comparisons.
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Understandability is a huge cost factor because ~80% time is spent on reading and understanding code.
AI Summary: Develop a Visual Studio Code extension for the cognitive-code-analysis tool, providing real-time feedback on code complexity as the user edits. This involves integrating the existing command-line tool's functionality into a VS Code extension, handling asynchronous communication, and potentially creating a custom VS Code view to display the analysis results.
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Understandability is a huge cost factor because ~80% time is spent on reading and understanding code.
AI Summary: Implement a feature to generate a text report providing actionable recommendations based on the cognitive complexity analysis. Recommendations should suggest improvements such as splitting long code units, refactoring excessive parameters using data objects, etc. Consider how to format the report for potential integration with IDEs for inline help.
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Understandability is a huge cost factor because ~80% time is spent on reading and understanding code.
AI Summary: Modify the Cognitive Code Complexity Analysis tool to reorder the output of its reports, placing the cognitive complexity score as the first column. This change is for a major release to avoid breaking compatibility with existing report formats and text output.
A Cognitive Code Complexity Analysis Tool. Cognitive complexity measures how hard it is for a human to understand the code, while cyclomatic complexity measures how hard your code is to test. Understandability is a huge cost factor because ~80% time is spent on reading and understanding code.