This file is indexed.

/usr/share/perl5/App/perlrdf/DummyModel.pm is in perlrdf 0.004-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package App::perlrdf::DummyModel;

BEGIN {
	$App::perlrdf::DummyModel::AUTHORITY = 'cpan:TOBYINK';
	$App::perlrdf::DummyModel::VERSION   = '0.004';
}

use strict qw(vars subs);
no warnings;
use base 'RDF::Trine::Model';
use Carp 'confess';

sub new
{
	my $size = 0;
	bless \$size, shift;
}

*temporary_model = \&new;

sub _store
{
	return;
}

sub add_statement
{
	my $self = shift;
	++$$self;
}

sub die_write_only
{
	confess "this model is write-only!";
}

*{$_} = \&die_write_only
for qw(
	get_statements get_pattern get_sparql get_contexts get_list get_sequence
	remove_list remove_statement remove_statements
	count_statements
	as_stream as_hashref as_graphviz as_string
	subjects predicates objects objects_for_predicate_list bounded_description
);

sub size
{
	my $self = shift;
	$$self;
}

1;