10% selected-tags-rss

Code Review | Selected Tags RSS

WordPress plugin Selected Tags RSS scored10%from 54 tests.

About plugin

  • Plugin page: selected-tags-rss
  • Plugin version: 1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Nov 14, 2012
  • Latest release: Nov 15, 2012
  • Number of updates: 7
  • Update frequency: every 0.7 days
  • Top authors: mtrdesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,424 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/selected-tags-rss/admin/admin.php+26
    Undefined index: page

Server metrics [RAM: ▼1.89MB] [CPU: ▼51.50ms] Passed 4 tests

Analyzing server-side resources used by Selected Tags RSS
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0433.90 ▼6.77
Dashboard /wp-admin2.05 ▼1.267.13 ▼38.45
Posts /wp-admin/edit.php2.05 ▼1.316.88 ▼44.71
Add New Post /wp-admin/post-new.php2.05 ▼3.846.46 ▼94.14
Media Library /wp-admin/upload.php2.05 ▼1.185.56 ▼28.68

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: 2 new tables, 7 new options
New tables
wp_mtr_selected_tags_rss_settings
wp_mtr_selected_tags_rss_subscribers
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_mtr_selected_tags_rss_search
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Selected Tags RSS
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,907 ▲16113.60 ▼0.759.69 ▲7.9543.24 ▼1.45
Dashboard /wp-admin2,226 ▲354.93 ▲0.0593.83 ▼7.5668.44 ▲18.95
Posts /wp-admin/edit.php2,103 ▲141.98 ▼0.0633.35 ▼2.4033.51 ▼4.25
Add New Post /wp-admin/post-new.php1,539 ▲223.11 ▲0.00753.65 ▲155.0956.77 ▼0.82
Media Library /wp-admin/upload.php1,399 ▲114.31 ▲0.1198.45 ▼1.9372.70 ▲30.30

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/selected-tags-rss/admin/admin.php+26
    Undefined index: page
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • widget_mtr_selected_tags_rss_search
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/selected-tags-rss/selected-tags-rss.php:414
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/selected-tags-rss/widgets/widgets.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: tags, rss

selected-tags-rss/selected-tags-rss.php 92% from 13 tests

"Selected Tags RSS" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 141 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin820 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP6144109624
JavaScript16359115
CSS218081

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.35
Average class complexity16.00
▷ Minimum class complexity1.00
▷ Maximum class complexity54.00
Average method complexity2.76
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods35
▷ Static methods00.00%
▷ Public methods35100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants787.50%
▷ Class constants112.50%
▷ Public constants1100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/h2.png1.34KB1.40KB0.00%
admin/images/nav-current.png3.31KB0.74KB▼ 77.62%
share/images/feed.png0.65KB0.85KB0.00%
admin/images/nav.png3.12KB0.62KB▼ 79.99%