90% filter-rss-feed

Code Review | Filter RSS Feed

WordPress plugin Filter RSS Feed scored90%from 54 tests.

About plugin

  • Plugin page: filter-rss-feed
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.8
  • WordPress version: 6.3.1
  • First release: Jan 2, 2014
  • Latest release: Jan 3, 2014
  • Number of updates: 2
  • Update frequency: every 1.0 days
  • Top authors: alexvorn2 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,522 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.53ms] Passed 4 tests

Server-side resources used by Filter RSS Feed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.23 ▼7.58
Dashboard /wp-admin3.32 ▲0.0145.07 ▼2.15
Posts /wp-admin/edit.php3.37 ▲0.0147.62 ▲2.27
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.88 ▼5.16
Media Library /wp-admin/upload.php3.24 ▲0.0134.40 ▲0.76
Filter RSS Feed /wp-admin/plugins.php?page=filter_rss_feed3.2133.47

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Filter RSS Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3313.15 ▼1.471.62 ▼0.5142.84 ▲3.11
Dashboard /wp-admin2,210 ▲214.84 ▼0.10106.78 ▼8.2641.19 ▼0.55
Posts /wp-admin/edit.php2,093 ▲42.02 ▼0.0039.20 ▲4.7236.24 ▼0.89
Add New Post /wp-admin/post-new.php1,545 ▲3118.19 ▲0.70609.93 ▼8.2758.85 ▲10.71
Media Library /wp-admin/upload.php1,395 ▲134.16 ▼0.0693.65 ▼11.0942.31 ▼2.09
Filter RSS Feed /wp-admin/plugins.php?page=filter_rss_feed9092.0824.4239.68

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: wp_query, feed, rss, filter

filter-rss-feed/filter-rss-feed.php Passed 13 tests

Analyzing the main PHP file in "Filter RSS Feed" version 1.0
129 characters long description:
This plugin will help you to filter the RSS feed list by category and post type. (Go to: Dashboard -> Plugins -> Filter RSS Feed)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin642 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP413267393
CSS1340203
JavaScript18346

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions16
▷ Named functions16100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected