77% rss-ground

Code Review | RSS Ground

WordPress plugin RSS Ground scored77%from 54 tests.

About plugin

  • Plugin page: rss-ground
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.9
  • WordPress version: 6.3.1
  • First release: Feb 6, 2020
  • Latest release: Feb 16, 2022
  • Number of updates: 14
  • Update frequency: every 53.6 days
  • Top authors: paytory (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,446 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.56ms] Passed 4 tests

Analyzing server-side resources used by RSS Ground
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0041.95 ▼1.04
Dashboard /wp-admin3.31 ▲0.0152.93 ▲1.19
Posts /wp-admin/edit.php3.36 ▲0.0050.87 ▲2.27
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.63 ▼15.80
Media Library /wp-admin/upload.php3.23 ▲0.0035.98 ▼2.60

Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] 67% from 3 tests

Analyzing filesystem and database footprints of this plugin
Please fix the following
  • Illegal file modification detected: 1 file (3.16KB) outside of "wp-content/plugins/rss-ground/" and "wp-content/uploads/"
    • (new file) rssground.php
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for RSS Ground
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.29 ▼1.322.10 ▲0.2247.31 ▼1.68
Dashboard /wp-admin2,203 ▲155.75 ▲0.86100.03 ▼17.5338.90 ▼4.86
Posts /wp-admin/edit.php2,089 ▲32.04 ▲0.0535.85 ▼2.0736.31 ▲1.38
Add New Post /wp-admin/post-new.php1,533 ▲1923.02 ▲5.45677.03 ▲1.6855.05 ▲5.19
Media Library /wp-admin/upload.php1,385 ▼34.24 ▲0.0399.30 ▼7.9343.76 ▼2.84

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/rss-ground/rssground.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'IXR_Server' not found in wp-content/plugins/rss-ground/class-wp-xmlrpc-server.php:24

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt is a good inspiration

rss-ground/rssground.php 85% from 13 tests

The principal PHP file in "RSS Ground" v. 1.0.1 is loaded by WordPress automatically on each request
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 262 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rss-ground.php" instead of "rssground.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,844 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21,0582,2983,844

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity382.00
▷ Minimum class complexity5.00
▷ Maximum class complexity759.00
Average method complexity7.48
▷ Minimum method complexity1.00
▷ Maximum method complexity74.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods109
▷ Static methods32.75%
▷ Public methods9284.40%
▷ Protected methods1412.84%
▷ Private methods32.75%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants4
▷ Global constants375.00%
▷ Class constants125.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin