10% follow-category-feeds

Code Review | Follow WordPress Category Feeds

WordPress plugin Follow WordPress Category Feeds scored10%from 54 tests.

About plugin

  • Plugin page: follow-category-f...
  • Plugin version: 2.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-3.5.1
  • WordPress version: 6.3.1
  • First release: Jul 20, 2012
  • Latest release: Mar 3, 2013
  • Number of updates: 10
  • Update frequency: every 23.0 days
  • Top authors: prasannasp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /4,688 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/follow-category-feeds/follow-category-feeds.php+71
    Trying to access array offset on value of type bool

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

Analyzing server-side resources used by Follow WordPress Category Feeds
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.60 ▼2.00
Dashboard /wp-admin3.32 ▲0.0157.05 ▲9.13
Posts /wp-admin/edit.php3.37 ▲0.0152.15 ▲5.64
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.94 ▼9.72
Media Library /wp-admin/upload.php3.24 ▲0.0134.87 ▲1.69
Follow Category Feeds /wp-admin/options-general.php?page=follow-category-feeds/follow-category-feeds.php3.2031.51

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
fwcf_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Follow WordPress Category Feeds
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.14 ▼1.231.66 ▼0.5741.57 ▼6.49
Dashboard /wp-admin2,213 ▲224.94 ▼0.16127.00 ▲21.8549.72 ▲8.55
Posts /wp-admin/edit.php2,096 ▲42.05 ▲0.0345.73 ▲4.8138.99 ▲1.31
Add New Post /wp-admin/post-new.php1,545 ▲1118.48 ▼4.72594.56 ▼72.2762.80 ▲3.22
Media Library /wp-admin/upload.php1,389 ▲74.25 ▲0.0597.74 ▼0.6044.54 ▲0.81
Follow Category Feeds /wp-admin/options-general.php?page=follow-category-feeds/follow-category-feeds.php8742.0225.4739.07

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/follow-category-feeds/follow-category-feeds.php:55

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: follow, categories, post, subscribe, rss...

follow-category-feeds/follow-category-feeds.php 92% from 13 tests

The entry point to "Follow WordPress Category Feeds" version 2.1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 254 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected122 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12928122

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png11.12KB4.22KB▼ 62.05%
screenshot-2.png39.83KB14.50KB▼ 63.60%