10% feeder-ninja-feed

Code Review | Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly

WordPress plugin Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly scored10%from 54 tests.

About plugin

  • Plugin page: feeder-ninja-feed
  • Plugin version: 2.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.4.1
  • WordPress version: 6.3.1
  • First release: Sep 20, 2013
  • Latest release: May 12, 2020
  • Number of updates: 17
  • Update frequency: every 142.8 days
  • Top authors: CommonNinja (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /14,434 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/feeder-ninja-feed/feederninja-widget.php+15
    Function create_function() is deprecated

Server metrics [RAM: ▼1.97MB] [CPU: ▼56.42ms] Passed 4 tests

An overview of server-side resources used by Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.30 ▼33.22
Dashboard /wp-admin2.05 ▼1.305.35 ▼55.71
Posts /wp-admin/edit.php2.05 ▼1.315.21 ▼39.28
Add New Post /wp-admin/post-new.php2.05 ▼3.845.84 ▼97.46
Media Library /wp-admin/upload.php2.05 ▼1.184.97 ▼26.69

Server storage [IO: ▲0.44MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
widget_feederninja_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.74 ▲0.121.77 ▼0.0345.01 ▲4.49
Dashboard /wp-admin2,206 ▲145.88 ▼0.0499.26 ▼8.5139.60 ▼3.59
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0036.98 ▼0.1733.70 ▼0.60
Add New Post /wp-admin/post-new.php1,534 ▲922.94 ▼0.27636.01 ▲44.6447.40 ▼18.28
Media Library /wp-admin/upload.php1,388 ▼04.24 ▲0.0296.93 ▲3.5745.96 ▲2.86

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/feeder-ninja-feed/feederninja-widget.php+15
    Function create_function() is deprecated
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_feederninja_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
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× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feeder-ninja-feed/feederninja-widget.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can look at the official readme.txt

feeder-ninja-feed/feederninja-widget.php 85% from 13 tests

The main PHP file in "Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly" ver. 2.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("feeder-ninja-feed.php" instead of "feederninja-widget.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 173 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin114 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13972114

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.22MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png67.05KB20.26KB▼ 69.79%
screenshot-3.png50.92KB20.82KB▼ 59.11%
screenshot-4.png81.71KB25.34KB▼ 68.99%
screenshot-1.png21.63KB8.90KB▼ 58.84%