Getting Insights Into Your Development
“Living is easy with eyes closed.” – John Lennon
Many Perforce users have homegrown or ad hoc reporting and dashboard tools built around Perforce server logs and tools like P4toDB. But what if you need a quick overview of the state of a project, codeline, or team?
Perforce Insights is a new offering that presents vital information about how your projects, codelines, teams, and servers are performing. Insights draws on data directly from the Perforce server and logs so you quickly understand what’s going on. Insights brings data from other tools into its reports or provides data for consumption by external reporting tools.
While Perforce already has a wide variety of visual tools available to developers in everyday use—P4V, Time-Lapse View, Stream Graph, and Revision Graph, to name a few—development leads, project managers and others need more information about how their projects and teams are performing. System administrators need information about the health of their Perforce servers and whether the servers are handling the load from all the clients fast enough.
Trends and Patterns at a Glance
Insights includes a set of easy-to-understand views covering statistics such as Top Contributors, Most Active Files, and Weighted Bug Counts. These reports are presented in an easy-to-use format via a web browser. You can easily export the data behind any report to other tools for further analysis.
For system administrators, Insights reports include Server Queue Length, which indicates whether the server is keeping up with the commands coming from users. It also provides a monitoring tool that can feed Perforce server data to system monitoring tools such as Nagios.
One of the most interesting reports for development or project leads is the Stability Index, which gives a view into whether projects are headed in the right direction and at what speed. The algorithm behind the metrics is quite complex, and reflects the percentages of code changed, code changing repeatedly, and defect and fix rates for your projects.
Extensibility points are available at all levels of the architecture. A standard relational database manages all data and can be accessed using external tools. RESTful APIs are available for integration at the UI level. And it’s possible to embed your own logic in the data layer for creating metrics that matter the most to you and your environment.
Try Insights Beta Release
Download the Insights beta release now to get a range of immediately useful reports. We will add more reports over time and the ability to personalize your report views. We also encourage you to build your own reports and share them via the Insights community.