{% endif %}
{% if current_instance and instance_info %}
âī¸Instance Information
{% if instance_info.coverity_version %}
Coverity Version
{{ instance_info.coverity_version }}
{% if instance_info.coverity_build %}
Build: {{ instance_info.coverity_build }}
{% endif %}
{% endif %}
{% if instance_info.db_uptime_formatted %}
Database Uptime
{{ instance_info.db_uptime_formatted }}
{% if instance_info.db_start_time %}
Started: {{ instance_info.db_start_time.strftime('%Y-%m-%d %H:%M') if instance_info.db_start_time.strftime else instance_info.db_start_time }}
{% endif %}
{% endif %}
{% if instance_info.first_snapshot %}
System Active Period
{{ instance_info.usage_period_days }} days
Since: {{ instance_info.first_snapshot.strftime('%Y-%m-%d') if instance_info.first_snapshot.strftime else instance_info.first_snapshot }}
{% endif %}
{% if instance_info.last_activity_formatted %}
Last Activity
{{ instance_info.last_activity_formatted }}
{% if instance_info.last_snapshot %}
{{ instance_info.last_snapshot.strftime('%Y-%m-%d %H:%M') if instance_info.last_snapshot.strftime else instance_info.last_snapshot }}
{% endif %}
{% endif %}
{% if instance_info.database_name %}
Database
{{ instance_info.database_name }}
{% if instance_info.active_connections %}
{{ instance_info.active_connections }} active connections
{% endif %}
{% endif %}
{% if instance_info.system_unique_id %}
System ID
{{ instance_info.system_unique_id }}
{% endif %}
{% endif %}
{% if not current_project %}
{% endif %}
{% if current_project and owasp_metrics %}
{% endif %}
{% if current_project and cwe_top25_metrics %}
{% endif %}
đĄ Note: These estimates are based on industry-standard effort levels per defect impact.
Actual remediation time may vary based on code complexity, team experience, and defect context.
{% endif %}
{% if trend_summary and trend_summary.total_new %}
đ Defect Introduction vs Fix Velocity ({{ trend_period_text }})
Trend Status:
{% if trend_summary.trend_direction == 'improving' %}
â IMPROVING - Fixing defects faster than introducing new ones
{% elif trend_summary.trend_direction == 'declining' %}
â ī¸ DECLINING - Introducing defects faster than fixing them
{% else %}
âšī¸ STABLE - Introduction and fix rates are balanced
{% endif %}
Avg New Defects/Day
{{ (trend_summary.avg_new_per_day|round(1)) if trend_summary.avg_new_per_day else '0' }}
â
Avg Fixed Defects/Day
{{ (trend_summary.avg_fixed_per_day|round(1)) if trend_summary.avg_fixed_per_day else '0' }}
â
Net Change
{{ ('+' if trend_summary.net_change > 0 else '') if trend_summary.net_change else '' }}{{ trend_summary.net_change if trend_summary.net_change else '0' }}
Fix Rate Efficiency
{{ (trend_summary.fix_rate_pct|round(1)) if trend_summary.fix_rate_pct else '0' }}%
{{ (100 - user_activity_stats.active_user_percentage)|round(1) }}% of licenses
Activity Summary:
{% if user_activity_stats.active_user_percentage >= 50 %}
Good license utilization! {{ user_activity_stats.active_user_percentage }}% of users are actively using Coverity (commits or triage) in the last {{ trend_period_text.lower() }}.
{% elif user_activity_stats.active_user_percentage >= 30 %}
Moderate license utilization. {{ user_activity_stats.active_user_percentage }}% of users are actively using Coverity. Consider user engagement improvements.
{% else %}
Low license utilization detected. Only {{ user_activity_stats.active_user_percentage }}% of users are actively using Coverity. Review license allocation and user training.
{% endif %}
đ Definition of Activity:
Licensed Users: All user accounts in the system (not deleted)
Users with Login: Users who have logged in at least once (ever)
Active Users: Users who logged in OR performed triage actions within {{ trend_period_text.lower() }}
Inactive Licenses: Licensed users without recent activity
{% endif %}
Database Statistics
Database Size
{{ db_stats.db_size }}
Total Snapshots
{{ db_stats.total_snapshots }}
Avg Commit Time
{{ commit_stats.avg_duration_seconds }}s
Total Commits
{{ commit_stats.total_commits }}
Largest Database Tables
Table Name
Size
{% for row in largest_tables %}
{{ row.table_name }}
{{ row.size }}
{% endfor %}
Analysis/Commit Performance
Min Commit Time
{{ commit_stats.min_duration_seconds }} sec
Max Commit Time
{{ commit_stats.max_duration_seconds }} sec
Avg Files/Commit
{{ commit_stats.avg_files_per_commit|int }}
Avg New Defects/Commit
{{ commit_stats.avg_new_defects_per_commit|int }}
{% if commit_activity and commit_activity.total_commits > 0 %}
Commit Activity Patterns
âšī¸ Activity Analysis: Based on {{ commit_activity.total_commits }} commits/snapshots, showing when development activity is most and least active.
{{ row.date_created.strftime('%Y-%m-%d %H:%M') if row.date_created else 'N/A' }}
{{ row.stream_name }}
{{ row.total_defect_count or 0 }}
+{{ row.new_defect_count or 0 }}-{{ row.eliminated_defect_count or 0 }}
{{ row.total_file_count or 0 }}
{{ row.duration_seconds or 0 }} sec
{{ row.queue_time_seconds or 0 }} sec
{% endfor %}
{% if defect_discovery|length > 0 %}
Defect Discovery Rate ({{ trend_period_text }})
Date
Snapshots
New Defects
Eliminated
Files Analyzed
{% for row in defect_discovery[:30] %}
{{ row.snapshot_date }}
{{ row.snapshot_count }}
{{ row.new_defects or 0 }}
{{ row.eliminated_defects or 0 }}
{{ row.files_analyzed or 0 }}
{% endfor %}
{% endif %}
{% endif %}
{% if top_projects_by_fix_rate or most_improved_projects or top_projects_by_triage or top_users_by_fixes or top_triagers or most_collaborative_users %}
{% if current_project %}
đ Individual Contributors
Recognizing top contributors in defect resolution, triage activity, and collaboration for this project.
{% else %}
đ Team Leaderboards
Recognizing top performers in defect resolution, triage activity, and continuous improvement.
{% endif %}
{% if not current_project %}
đ Project Performance
{% if top_projects_by_fix_rate and top_projects_by_fix_rate|length > 0 %}
đ Fastest Fix Velocity
Projects with highest defect elimination rate (Last 30 Days)
Triage Completion: Percentage of defects with classification assigned
Collaboration: Comments added to defects for team communication
{% else %}
âšī¸ No Leaderboard Data Available
Leaderboards will appear when projects have defect fix activity, improvements, or triage progress.
{% endif %}
{% if current_project %}
đ OWASP Top 10 2025 Security Analysis
Defects mapped to OWASP Top 10 2025 categories based on CWE (Common Weakness Enumeration) codes.
This analysis helps prioritize security remediation efforts based on the most critical web application security risks.
{% if owasp_metrics and owasp_metrics|length > 0 %}
{% set failed_count = owasp_metrics|selectattr('status', 'equalto', 'FAILED')|list|length %}
{% set passed_count = owasp_metrics|selectattr('status', 'equalto', 'PASS')|list|length %}
Categories with Defects (FAILED)
{{ failed_count }} / 10
Categories Passed
{{ passed_count }} / 10
{% for item in owasp_metrics %}
{{ item.category.split(':')[0] }}: {{ item.category.split(':')[1] if ':' in item.category else item.category }}
{% if owasp_details and item.category in owasp_details %}
{% set details = owasp_details[item.category] %}
{% if details.all_defects and details.all_defects|length > 0 %}
{% if defect.severity == 'Major' %}
High
{% elif defect.severity == 'Moderate' %}
Med
{% elif defect.severity == 'Minor' %}
Low
{% else %}
-
{% endif %}
{{ defect.file }}
{{ defect.function }}
{% endfor %}
{% endif %}
{% if details.checker_breakdown and details.checker_breakdown|length > 0 %}
đ Top Checkers ({{ details.checker_breakdown|length }} of {{ details.total_checkers }} total)
{% for checker in details.checker_breakdown %}
{{ checker.checker }}{{ checker.defect_count }}
{% endfor %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
đ About OWASP Top 10 2025:
The OWASP Top 10 is a standard awareness document representing a broad consensus about the most critical security risks to web applications.
This report maps your defects to these categories using CWE codes to help prioritize security remediation.
PASS: No outstanding defects found in this OWASP category
FAILED: Outstanding defects detected in this category requiring attention
CWEs: Number of unique CWE codes contributing to this category
{% else %}
âšī¸ No OWASP Data Available
OWASP Top 10 analysis is only available for project-level dashboards. Please select a specific project to view this data.
{% endif %}
{% endif %}
{% if current_project and cwe_top25_metrics %}
đĄī¸ CWE Top 25 Most Dangerous Software Weaknesses (2025)
Defects mapped to MITRE's CWE Top 25 list - the most widespread and critical software weaknesses.
Rankings are based on real-world vulnerability data and help prioritize remediation by industry-recognized danger level.
đ¯ Security Focus: {{ cwe_top25_metrics|selectattr('status', 'equalto', 'FAILED')|list|length }} of {{ cwe_top25_metrics|length }} CWE Top 25 weaknesses detected in this project.
đĄ Tip: Click on any FAILED row to view detailed defect information.
{% if defect.severity == 'Major' %}
High
{% elif defect.severity == 'Moderate' %}
Med
{% elif defect.severity == 'Minor' %}
Low
{% else %}
-
{% endif %}
{{ defect.file }}
{{ defect.function }}
{% endfor %}
{% endif %}
{% endif %}
{% endfor %}
đ About CWE Top 25 2025:
The CWE Top 25 Most Dangerous Software Weaknesses is a demonstrative list of the most widespread and critical weaknesses
that can lead to serious vulnerabilities in software. Compiled by MITRE using real-world vulnerability data from the
National Vulnerability Database (NVD), this list helps developers and security teams prioritize their remediation efforts.
Status: PASS (no defects) or FAILED (has defects for this CWE)
Rank: Position in MITRE's CWE Top 25 list (1-25, lower rank = more dangerous)
Score: MITRE's calculated danger score based on prevalence and impact
Total: Number of outstanding defects for this specific CWE in your project
Coverage: This table shows all 25 CWE entries ({{ cwe_top25_metrics|selectattr('status', 'equalto', 'FAILED')|list|length }} failed, {{ cwe_top25_metrics|selectattr('status', 'equalto', 'PASS')|list|length }} passed)
Expand Details: Click on any FAILED row to view all defects, including CID, checker, severity, file, and function