{% 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 }}
Recent Snapshot Performance
Date â˛âŧ
Stream â˛âŧ
Total Defects â˛âŧ
New/Eliminated â˛âŧ
Files â˛âŧ
Duration â˛âŧ
Queue Time â˛âŧ
{% for row in snapshot_performance %}
{{ 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 and owasp_metrics %}
đ 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.
đ¯ Security Focus: {{ owasp_metrics|length }} OWASP Top 10 categories detected in this project.
Rank
OWASP Category
Description
Total
đ´ High
đĄ Med
đĸ Low
CWEs
{% for item in owasp_metrics %}
#{{ loop.index }}
{{ item.category.split(':')[0] }}
{{ item.category.split(':')[1] if ':' in item.category else item.category }}
{{ item.description[:100] }}{% if item.description|length > 100 %}...{% endif %}
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.
Rank: Position in OWASP Top 10 2025 list
Total: Number of outstanding defects in this category
CWEs: Number of unique CWE codes contributing to this category
{% 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|length }} CWE Top 25 weaknesses detected in this project.
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.
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 only CWE Top 25 entries found in your project ({{ cwe_top25_metrics|length }}/25)