Code Duplication    Length = 12-12 lines in 3 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 3 locations

@@ 7181-7192 (lines=12) @@
7178
                }
7179
                unset($temp);
7180
            }
7181
            elseif ($keywords = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'keywords'))
7182
            {
7183
                if (isset($keywords[0]['data']))
7184
                {
7185
                    $temp = explode(',', $this->sanitize($keywords[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT));
7186
                    foreach ($temp as $word)
7187
                    {
7188
                        $keywords_parent[] = trim($word);
7189
                    }
7190
                }
7191
                unset($temp);
7192
            }
7193
            elseif ($keywords = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'keywords'))
7194
            {
7195
                if (isset($keywords[0]['data']))
@@ 7193-7204 (lines=12) @@
7190
                }
7191
                unset($temp);
7192
            }
7193
            elseif ($keywords = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_MEDIARSS, 'keywords'))
7194
            {
7195
                if (isset($keywords[0]['data']))
7196
                {
7197
                    $temp = explode(',', $this->sanitize($keywords[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT));
7198
                    foreach ($temp as $word)
7199
                    {
7200
                        $keywords_parent[] = trim($word);
7201
                    }
7202
                }
7203
                unset($temp);
7204
            }
7205
            elseif ($keywords = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'keywords'))
7206
            {
7207
                if (isset($keywords[0]['data']))
@@ 7205-7216 (lines=12) @@
7202
                }
7203
                unset($temp);
7204
            }
7205
            elseif ($keywords = $parent->get_channel_tags(SIMPLEPIE_NAMESPACE_ITUNES, 'keywords'))
7206
            {
7207
                if (isset($keywords[0]['data']))
7208
                {
7209
                    $temp = explode(',', $this->sanitize($keywords[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT));
7210
                    foreach ($temp as $word)
7211
                    {
7212
                        $keywords_parent[] = trim($word);
7213
                    }
7214
                }
7215
                unset($temp);
7216
            }
7217
            if (is_array($keywords_parent))
7218
            {
7219
                $keywords_parent = array_values(array_unique($keywords_parent));