code: def __get_line_profile_data(self):
          
          if self.line_profiler is None:
              return {}
  
          # the [0] is because pprofile.Profile.file_dict stores the line_dict
          # in a list so that it can be modified in a thread-safe way
          # see https://github.com/vpelletier/pprofile/blob/da3d60a1b59a061a0e2113bf768b7cb4bf002ccb/pprofile.py#L398
          return self.line_profiler.file_dict[self.pyfile.path][0].line_dict
docs: Method to procure line profiles.
  
             @return: Line profiles if the file has been profiles else empty
             dictionary.