10% rss-make-antenna

Code Review | RSS make antenna

WordPress plugin RSS make antenna scored 10% from 54 tests.

About plugin

  • Plugin page: rss-make-antenna
  • Plugin version: 1.7.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8
  • WordPress version: 6.3.1
  • First release: Jun 8, 2017
  • Latest release: Aug 19, 2021
  • Number of updates: 13
  • Update frequency: every 117.9 days
  • Top authors: issey7 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active / 4,644 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-includes/media.php+5460
    getimagesize(./wp-content/plugins/rss-make-antenna/no_image.png): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.04MB] [CPU: ▲1.66ms] Passed 4 tests

Server-side resources used by RSS make antenna
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0643.70 ▲4.77
Dashboard /wp-admin3.42 ▲0.1174.81 ▲23.85
Posts /wp-admin/edit.php3.39 ▲0.0346.77 ▼0.15
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.90 ▼1.89
Media Library /wp-admin/upload.php3.26 ▲0.0336.32 ▲3.90
RSS make antenna設定 /wp-admin/options-general.php?page=make_antenna3.2030.30

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
db_upgraded
can_compress_scripts
theysaidso_admin_options
make_antenna
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

RSS make antenna: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,813 ▲7813.53 ▼1.031.61 ▼0.7143.24 ▼6.95
Dashboard /wp-admin2,210 ▲224.85 ▼0.09108.77 ▼7.0543.46 ▼0.71
Posts /wp-admin/edit.php2,096 ▲72.06 ▲0.0439.69 ▲2.9739.61 ▲6.42
Add New Post /wp-admin/post-new.php1,536 ▼122.93 ▼0.37694.76 ▲29.1267.85 ▲15.53
Media Library /wp-admin/upload.php1,429 ▲384.32 ▲0.1196.65 ▲0.5343.92 ▲2.05
RSS make antenna設定 /wp-admin/options-general.php?page=make_antenna8682.0222.5494.93

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=make_antenna
    • > Notice in wp-content/plugins/rss-make-antenna/rss-make-antenna.php+153
    Undefined index: settings-updated

SRP 50% from 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rss-make-antenna/rss-make-antenna.php:20

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: rss feed

rss-make-antenna/rss-make-antenna.php Passed 13 tests

The main PHP script in "RSS make antenna" version 1.7.2 is automatically included on every request by WordPress
84 characters long description:
RSSからサイトの更新情報を取得して投稿するプラグインです。

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected463 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1299463

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity78.00
▷ Minimum class complexity78.00
▷ Maximum class complexity78.00
Average method complexity3.26
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods34
▷ Static methods12.94%
▷ Public methods2779.41%
▷ Protected methods00.00%
▷ Private methods720.59%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
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
no_image.png1.92KB1.08KB▼ 43.85%