LCOV - code coverage report
Current view: top level - httpd/raw - ResourceServlet.java (source / functions) Hit Total Coverage
Test: _coverage_report.dat Lines: 128 158 81.0 %
Date: 2022-11-19 15:00:39 Functions: 17 20 85.0 %

Function Name Sort by function name Hit count Sort by hit count
com/google/gerrit/httpd/raw/ResourceServlet$Resource::<clinit> ()V 1
com/google/gerrit/httpd/raw/ResourceServlet$Resource::<init> (Ljava/nio/file/attribute/FileTime;Ljava/lang/String;[B)V 1
com/google/gerrit/httpd/raw/ResourceServlet$Resource::isStale (Ljava/nio/file/Path;Lcom/google/gerrit/httpd/raw/ResourceServlet;)Z 1
com/google/gerrit/httpd/raw/ResourceServlet$Weigher::<init> ()V 99
com/google/gerrit/httpd/raw/ResourceServlet$Weigher::weigh (Ljava/nio/file/Path;Lcom/google/gerrit/httpd/raw/ResourceServlet$Resource;)I 0
com/google/gerrit/httpd/raw/ResourceServlet::<clinit> ()V 100
com/google/gerrit/httpd/raw/ResourceServlet::<init> (Lcom/google/common/cache/Cache;Z)V 100
com/google/gerrit/httpd/raw/ResourceServlet::<init> (Lcom/google/common/cache/Cache;ZZ)V 1
com/google/gerrit/httpd/raw/ResourceServlet::<init> (Lcom/google/common/cache/Cache;ZZI)V 100
com/google/gerrit/httpd/raw/ResourceServlet::contentType (Ljava/lang/String;)Ljava/lang/String; 1
com/google/gerrit/httpd/raw/ResourceServlet::doGet (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V 1
com/google/gerrit/httpd/raw/ResourceServlet::getLastModifiedTime (Ljava/nio/file/Path;)Ljava/nio/file/attribute/FileTime; 1
com/google/gerrit/httpd/raw/ResourceServlet::getResource (Ljava/lang/String;)Lcom/google/gerrit/httpd/raw/ResourceServlet$Resource; 0
com/google/gerrit/httpd/raw/ResourceServlet::isUnreasonableName (Ljava/lang/String;)Z 1
com/google/gerrit/httpd/raw/ResourceServlet::lambda$newLoader$0 (Ljava/nio/file/Path;)Lcom/google/gerrit/httpd/raw/ResourceServlet$Resource; 1
com/google/gerrit/httpd/raw/ResourceServlet::maybeStream (Ljava/nio/file/Path;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z 1
com/google/gerrit/httpd/raw/ResourceServlet::newLoader (Ljava/nio/file/Path;)Ljava/util/concurrent/Callable; 1
com/google/gerrit/httpd/raw/ResourceServlet::notFound (Ljavax/servlet/http/HttpServletResponse;)V 1
com/google/gerrit/httpd/raw/ResourceServlet::processResourceBeforeServe (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lcom/google/gerrit/httpd/raw/ResourceServlet$Resource;)Lcom/google/gerrit/httpd/raw/ResourceServlet$Resource; 0
com/google/gerrit/httpd/raw/ResourceServlet::shouldProcessResourceBeforeServe (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/nio/file/Path;)Z 1

Generated by: LCOV version 1.16+git.20220603.dfeb750