gitlab_get_user_code_changes_summary
Analyze a user's code contributions over a specified period, providing metrics like lines added/removed, files changed, language breakdown, and trend analysis. Use for productivity assessment, reporting, or capacity planning in GitLab projects.
Instructions
Get lines added/removed and files changed by user over period
Generate comprehensive statistics about a user's code contributions including quantitative metrics and impact analysis.
Returns code change summary with:
- Volume metrics: lines added, removed, net change
- File statistics: files created, modified, deleted
- Language breakdown: contributions by file type
- Project distribution: changes across repositories
- Trend analysis: velocity over time periods
Use cases:
- Development productivity analysis
- Code contribution reporting
- Team capacity planning
- Performance review data
Parameters:
- user_id: Numeric user ID
- username: Username string (use either user_id or username)
- project_id: Optional project scope filter
- since: Analysis period start (YYYY-MM-DD)
- until: Analysis period end (YYYY-MM-DD)
- include_languages: Break down by programming language
- include_trends: Include time-series trend data
- granularity: Data granularity (daily, weekly, monthly)
Example: Get quarterly code change summary
Input Schema
Name | Required | Description | Default |
---|---|---|---|
per_page | No | Number of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing | |
project_id | No | Optional project scope filter | |
since | No | Commits after date (YYYY-MM-DD) | |
until | No | Commits before date (YYYY-MM-DD) | |
username | Yes | Username string |