83% rss-feed-news-blocks-free

Code Review | RSS Feeds News Blocks

WordPress plugin RSS Feeds News Blocks scored83%from 54 tests.

About plugin

  • Plugin page: rss-feed-news-blo...
  • Plugin version: 1.2.8
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.1
  • WordPress version: 6.3.1
  • First release: Nov 14, 2016
  • Latest release: Mar 29, 2017
  • Number of updates: 89
  • Update frequency: every 1.4 days
  • Top authors: onigetoc (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active /7,399 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
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by RSS Feeds News Blocks
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.08 ▼4.58
Dashboard /wp-admin3.31 ▲0.0144.02 ▼4.13
Posts /wp-admin/edit.php3.36 ▲0.0047.40 ▼7.55
Add New Post /wp-admin/post-new.php5.89 ▲0.0094.23 ▼5.95
Media Library /wp-admin/upload.php3.23 ▲0.0033.25 ▲0.22

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

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

Browser metrics Passed 4 tests

A check of browser resources used by RSS Feeds News Blocks
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4314.44 ▼0.211.79 ▼0.1537.89 ▼7.43
Dashboard /wp-admin2,206 ▲155.86 ▼0.0295.58 ▼7.5046.27 ▲2.64
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0440.33 ▼6.8736.93 ▲0.72
Add New Post /wp-admin/post-new.php1,545 ▲2118.17 ▼5.22603.70 ▼4.1156.41 ▲5.83
Media Library /wp-admin/upload.php1,382 ▼04.30 ▲0.1398.65 ▼1.6345.39 ▲1.43

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • widget_recent-posts
    • wp_rss_cache
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% 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 trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/rss-feed-news-blocks-free/RSS_news_blocks.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (RSS Feed News block who show: 3 columns, 6 feeds, 5 items), #2 (Pro version with Favicons and Videos icons. Show more/Show less feeds, Show descriptions and images on hover. see more and the Minimize and Maximize +/- buttons to reveal the description. Find and play Youtube Videos, MP4 Videos, MP3 podcast with the MP3 and Video Player.), #3 (Pro version with the shortcode option newspaper="1" and merged (Multiple RSS mixed order by date) style like The Huffington Post), #4 (Pro version with the shortcode option newspaper="2" style like The Drudge Repport), #5 (In sidebar with shortcode in Text Widget or other Widgets plugins who accept shortcode in widget), #6 (Pro version Pinterest style 4 with the shortcode option newspaper="4"), #7 (Pro version Pinterest style 5 with the shortcode option newspaper="5")
  • Tags: You are using too many tags: 21 tag instead of maximum 10
Please take inspiration from this readme.txt

rss-feed-news-blocks-free/RSS_news_blocks.php 85% from 13 tests

Analyzing the main PHP file in "RSS Feeds News Blocks" version 1.2.8
The following require your attention:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("rss-feed-news-blocks-free.php" instead of "RSS_news_blocks.php")

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
Success! There were no dangerous files found in this plugin589 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
CSS24387255
PHP210182240
PO File2303094

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 3.98MB with 1.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-3.png469.67KB468.88KB0.17%
screenshot-2.png150.07KB58.76KB▼ 60.84%
screenshot-1.png122.49KB49.28KB▼ 59.77%
screenshot-5.png475.04KB142.53KB▼ 70.00%
img/feed-icon.png1.70KB1.52KB▼ 10.65%