90% rss-importer

Code Review | RSS Importer

WordPress plugin RSS Importer scored90%from 54 tests.

About plugin

  • Plugin page: rss-importer
  • Plugin version: 0.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.2
  • WordPress version: 6.3.1
  • First release: May 20, 2010
  • Latest release: May 10, 2023
  • Number of updates: 14
  • Update frequency: every 338.4 days
  • Top authors: nacin (28.57%)githubsync (21.43%)Otto42 (21.43%)nbachiyski (21.43%)briancolinger (21.43%)

Code review

54 tests

User reviews

9 reviews

Install metrics

40,000+ active /1,148,443 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼9.01ms] Passed 4 tests

This is a short check of server-side resources used by RSS Importer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0334.47 ▼3.68
Dashboard /wp-admin3.33 ▼0.0146.30 ▼16.87
Posts /wp-admin/edit.php3.39 ▲0.0343.98 ▲4.49
Add New Post /wp-admin/post-new.php5.92 ▲0.0381.25 ▼17.11
Media Library /wp-admin/upload.php3.26 ▲0.0334.66 ▲1.61

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for RSS Importer
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.19 ▼0.181.70 ▼0.1038.33 ▼3.44
Dashboard /wp-admin2,195 ▲155.65 ▲0.0084.46 ▼2.8639.47 ▲2.20
Posts /wp-admin/edit.php2,103 ▼01.94 ▼0.0534.42 ▼6.9533.19 ▼6.18
Add New Post /wp-admin/post-new.php1,526 ▼323.18 ▼0.39629.09 ▲23.1648.59 ▼10.60
Media Library /wp-admin/upload.php1,403 ▲34.23 ▲0.0499.30 ▲2.6042.40 ▲0.76

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: rss, importer

rss-importer/rss-importer.php Passed 13 tests

The primary PHP file in "RSS Importer" version 0.3.1 is used by WordPress to initiate all plugin functionality
30 characters long description:
Import posts from an RSS feed.

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
No dangerous file extensions were detected158 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14430158

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity20.00
▷ Minimum class complexity20.00
▷ Maximum class complexity20.00
Average method complexity3.38
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected