84% rss-llama

Code Review | RSS llama

WordPress plugin RSS llama scored 84% from 54 tests.

About plugin

  • Plugin page: rss-llama
  • Plugin version: 0.6.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.2-4.7.3
  • WordPress version: 5.9.2
  • First release: Aug 26, 2015
  • Latest release: Mar 16, 2017
  • Number of updates: 54
  • Update frequency: every 10.5 days
  • Top authors: oooorgle (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,736 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.20MB] [CPU: ▼295.87ms] Passed 4 tests

Analyzing server-side resources used by RSS llama
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.6754.96 ▲35.51
Dashboard /wp-admin3.64 ▲0.2334.57 ▲0.62
Posts /wp-admin/edit.php3.87 ▲0.2249.02 ▲10.23
Add New Post /wp-admin/post-new.php7.10 ▲0.1396.29 ▼1,195.76
Media Library /wp-admin/upload.php3.52 ▲0.2224.31 ▲1.44
All Links /wp-admin/link-manager.php3.5423.85
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category3.5224.49
RSS llama /wp-admin/options-general.php?page=rss-llama3.4922.95
Add New /wp-admin/link-add.php3.5025.51

Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 3 new options
New WordPress options
widget_links
rss-llama-settings-sidebar
rss-llama-settings-display

Browser metrics Passed 4 tests

This is an overview of browser requirements for RSS llama
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,970 ▲21616.37 ▲0.3612.26 ▲5.492.47 ▼0.40
Dashboard /wp-admin2,932 ▲716.13 ▼0.05119.87 ▼14.82156.66 ▼15.08
Posts /wp-admin/edit.php2,739 ▲483.23 ▼0.0164.85 ▼1.46139.14 ▼11.23
Add New Post /wp-admin/post-new.php1,692 ▲3117.27 ▲0.01403.34 ▼18.36159.59 ▼4.64
Media Library /wp-admin/upload.php1,745 ▲505.51 ▼0.02137.68 ▼1.05188.84 ▲1.72
All Links /wp-admin/link-manager.php1,3432.3954.81115.40
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category1,6852.7859.17123.77
RSS llama /wp-admin/options-general.php?page=rss-llama1,1992.6354.90161.38
Add New /wp-admin/link-add.php2,2383.4875.05159.88

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 1 option
    • widget_links

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/rss-llama/rss-llama.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: reader, feed, rss, news, subscribe...

rss-llama/rss-llama.php 92% from 13 tests

The principal PHP file in "RSS llama" v. 0.6.2 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("rss-llama/lang")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,734 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP47363771,137
JavaScript522294343
CSS213723254

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity93.00
▷ Minimum class complexity93.00
▷ Maximum class complexity93.00
Average method complexity3.09
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods44
▷ Static methods00.00%
▷ Public methods44100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected