10% native-rss

Code Review | Native RSS

WordPress plugin Native RSS scored10%from 54 tests.

About plugin

  • Plugin page: native-rss
  • Plugin version: 2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-4.3
  • WordPress version: 6.3.1
  • First release: Jan 20, 2011
  • Latest release: Aug 17, 2015
  • Number of updates: 12
  • Update frequency: every 155.3 days
  • Top authors: tepelstreel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,936 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
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
    Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor

Server metrics [RAM: ▼1.91MB] [CPU: ▼58.43ms] Passed 4 tests

Server-side resources used by Native RSS
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.394.72 ▼37.64
Dashboard /wp-admin2.09 ▼1.215.85 ▼45.30
Posts /wp-admin/edit.php2.10 ▼1.266.10 ▼42.65
Add New Post /wp-admin/post-new.php2.09 ▼3.795.63 ▼108.11
Media Library /wp-admin/upload.php2.10 ▼1.135.24 ▼32.32
Native RSS /wp-admin/options-general.php?page=set-feed-language2.107.57

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Native RSS
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.32 ▼0.032.07 ▲0.4043.38 ▲1.15
Dashboard /wp-admin2,199 ▲225.58 ▼0.2691.82 ▲0.4141.83 ▼1.14
Posts /wp-admin/edit.php2,104 ▲41.95 ▼0.0439.35 ▲3.4535.99 ▲0.86
Add New Post /wp-admin/post-new.php1,546 ▲1318.12 ▼4.86635.46 ▼24.1974.05 ▲23.09
Media Library /wp-admin/upload.php1,404 ▲44.22 ▲0.02100.71 ▼5.8844.35 ▲0.23
Native RSS /wp-admin/options-general.php?page=set-feed-language7952.0324.1226.30

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
    Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • rss_language
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=set-feed-language
    • > Deprecated in wp-content/plugins/native-rss/native-rss.php+36
    Methods with the same name as their class will not be constructors in a future version of PHP; NativeRSS has a deprecated constructor

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: rss, settings, language, language settings, rss feed...

native-rss/native-rss.php 92% from 13 tests

The main file in "Native RSS" v. 2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 481 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin215 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PO File44046142
PHP1743173

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.27
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/a5-logo.png3.42KB1.11KB▼ 67.54%