{"id":15148927,"url":"https://github.com/mojtabatajik/packageanalyzer","last_synced_at":"2025-10-24T05:30:39.238Z","repository":{"id":257256819,"uuid":"857746440","full_name":"MojtabaTajik/PackageAnalyzer","owner":"MojtabaTajik","description":"A powerful tool to analyze and report package dependencies across .NET Framework projects.","archived":false,"fork":false,"pushed_at":"2024-09-16T09:34:37.000Z","size":449,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T23:41:31.606Z","etag":null,"topics":["csharp","dotnet","legecy","nuget","package-manager"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MojtabaTajik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-15T14:01:58.000Z","updated_at":"2025-01-12T18:22:56.000Z","dependencies_parsed_at":"2024-09-21T20:30:25.322Z","dependency_job_id":null,"html_url":"https://github.com/MojtabaTajik/PackageAnalyzer","commit_stats":null,"previous_names":["mojtabatajik/packageanalyzer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojtabaTajik%2FPackageAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojtabaTajik%2FPackageAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojtabaTajik%2FPackageAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MojtabaTajik%2FPackageAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MojtabaTajik","download_url":"https://codeload.github.com/MojtabaTajik/PackageAnalyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237915421,"owners_count":19386724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","legecy","nuget","package-manager"],"created_at":"2024-09-26T13:40:28.920Z","updated_at":"2025-10-24T05:30:38.934Z","avatar_url":"https://github.com/MojtabaTajik.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PackageAnalyzer\n\n![PackageAnalyzer Logo](/content/logo.png)\n\n\nPackageAnalyzer is a powerful .NET tool for dissecting solution dependencies, generating comprehensive package reports, and facilitating legacy-to-monolith migrations.\n\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n## 📖 The Story Behind PackageAnalyzer\nAt Roamler, we faced a common yet daunting challenge: modernizing our legacy microservices into a unified monolith. The obstacle? A maze of package dependencies and version conflicts across our .NET Framework projects. PackageAnalyzer was born in my weekend spare time from this need – a tool to map our dependency landscape, highlight version discrepancies, and guide our migration journey. What started as an in-house solution is now open-source, aiming to help others navigate similar modernization quests.\n\n## 🚀 Features\n\n- **Solution Analysis**: Scan and analyze packages.config files across all projects in a solution.\n- **Dependency Mapping**: Identify and map both direct and transitive package dependencies.\n- **Report Generation**: Create detailed reports on package usage and project dependencies.\n- **Anomaly Detection**: Identify potential issues in package versioning and usage.\n\n## 🛠️ How It Works\nPackageAnalyzer leverages the power of the NuGet API to fetch comprehensive package information directly from NuGet servers. Here's what you need to know:\n\n* Dependency Graph\n    The tool generates a detailed dependency graph of your solution, including both direct and transitive dependencies\n\n* Caching Mechanism\n    To optimize performance and reduce unnecessary API calls, PackageAnalyzer caches project information in an \"AnalysisResult\" directory located in the same folder as the executable.\n\n* Fresh Data\n\n    If you need to ensure you're working with the most up-to-date information, simply remove the cache by deleting the \"AnalysisResult\" directory before running the analysis.\n\nThis approach allows PackageAnalyzer to provide fast, accurate results while minimizing network usage and API requests.\n\n## 📊 Report Types\n\n1. **Packages by Project**\n\n    * Lists each project in your solution\n    * For each project, shows all packages used and their versions\n    * Helps you understand the dependency structure of individual projects\n    * Useful for identifying which projects might need updating or consolidation\n\n\n2. **Project by Packages Report**\n\n    * Lists each package used across your solution\n    * For each package, shows every project using it and the version used\n    * Highlights version discrepancies as anomalies\n    * Helps identify inconsistencies in package versions across projects\n    * Useful for planning version alignment and identifying potential conflicts\n\n3. **Anomalies Report**\n\n    * Focuses on package version inconsistencies across projects\n    * Lists project names and package versions that differ from the majority\n    * Helps quickly identify areas that need attention for successful integration\n    * Crucial for planning your monolith migration strategy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojtabatajik%2Fpackageanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojtabatajik%2Fpackageanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojtabatajik%2Fpackageanalyzer/lists"}