This directory contains contribution visualization tools and generated reports for the kdevops project.
The contribution analysis provides comprehensive insights into kdevops development patterns, contributor activity, and project health over time. These visualizations help understand:
- Contributor Activity: Who is actively contributing to the project
- Development Patterns: When and how frequently contributions occur
- Project Health: Overall activity levels and contributor diversity
- Timeline Analysis: How the project has evolved over time
Generate contribution graphs using the built-in make target:
# Generate graphs for a specific year
make contrib-graph YEAR=2025
# Generate graphs for all project history
make contrib-graphThe visualization tool creates comprehensive 7-panel dashboards saved as:
kdevops_contributions_YYYY.png- High-resolution image (300 DPI)kdevops_contributions_YYYY.pdf- Vector format for scalability
kdevops_contributions_all_time.png- High-resolution imagekdevops_contributions_all_time.pdf- Vector format
Each generated dashboard includes seven analytical panels:
Shows the overall contribution ranking by commit count. Names are automatically shortened for contributors with fewer commits to prevent overlapping labels.
Displays the percentage distribution of contributions among top contributors, with smaller contributors grouped as "Others" for clarity.
Visual representation of when contributors are most active throughout the year. Intensity indicates commit volume.
Line graph showing total project activity over time, with actual commit counts labeled on data points.
Individual activity patterns for the top 3 contributors, showing their monthly contribution patterns.
Key metrics including:
- Total commits and contributors
- Average commits per person
- Most active month
- Top contributor
- Analysis period and generation timestamp
- Generated-by tag usage share
Shows how often commits include the Generated-by: trailer each month. This timeline highlights adoption of automated contribution tags and makes it easy to spot growth in AI-assisted commit generation.
- Smart Filtering: Only shows data up to the current date (no future commits)
- Period Accuracy: Respects actual time boundaries (e.g., if run on July 31, 2025, won't show August-December data)
- Validation: Prevents analysis of invalid years (too early or future years)
All data is extracted directly from the git repository using:
git logfor commit history- Author information from git commit metadata
- Date filtering for accurate time period analysis
- No synthetic or fabricated data
The visualization tool requires:
- Python 3.x
- matplotlib
- seaborn
- pandas
- numpy
These are automatically installed via system packages when running the tool.
# Generate 2025 contribution report
make contrib-graph YEAR=2025# Generate complete project history
make contrib-graph# Analyze any specific year
make contrib-graph YEAR=2024
make contrib-graph YEAR=2023The tool includes comprehensive error checking:
- Future Years: Prevents analysis of years beyond current date
- Invalid Years: Validates year format and reasonable ranges
- Git Repository: Ensures tool is run from within a git repository
- Empty Data: Handles periods with no commits gracefully
The contribution analysis is integrated into the kdevops build system:
- Makefile Target:
make contrib-graph - Parameter Support: Optional
YEAR=YYYYparameter - Output Location: Files saved to
docs/contrib/ - Style Compliance: Follows kdevops coding standards
- March Surge: Often indicates major development phases
- Consistent Activity: Shows healthy, sustained development
- Seasonal Patterns: May reflect developer availability/schedules
- Core Contributors: High commit counts, consistent activity
- Occasional Contributors: Lower counts, sporadic activity
- New Contributors: Recent activity increase
- Growing Contributor Base: More contributors over time
- Sustained Activity: Regular commits throughout periods
- Balanced Contributions: Activity from multiple contributors
- Generated-by Adoption: Visibility into automated tag usage trends
README.md- This documentationkdevops_contributions_*.png- Generated visualization imageskdevops_contributions_*.pdf- Generated vector graphics- Historical contribution reports (accumulate over time)
"No contributions found"
- Check that you're in a git repository
- Verify the specified year has commits
- Ensure date range is valid
"Year is in the future"
- The tool prevents analysis of future dates
- Use current or past years only
Missing dependencies
- Run
sudo apt install python3-matplotlib python3-seaborn python3-pandas python3-numpy - Or let the Makefile handle dependency installation
For issues with the contribution analysis tool:
- Check that all dependencies are installed
- Verify you're in the kdevops git repository root
- Review error messages for specific guidance
- Consult the main project documentation
The contribution analysis tool itself can be improved:
- Source:
scripts/contrib_graph.py - Integration: Makefile target definition
- Standards: Follow kdevops coding and documentation standards
- Testing: Verify with multiple years and edge cases
Suggestions for enhancements are welcome through the standard kdevops contribution process.