84% mb-imagechimp-rss-feed-enhancer

Code Review | MB ImageChimp RSS Feed Enhancer

WordPress plugin MB ImageChimp RSS Feed Enhancer scored84%from 54 tests.

About plugin

  • Plugin page: mb-imagechimp-rss...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.0-3.7.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2013
  • Latest release: Dec 4, 2013
  • Number of updates: 9
  • Update frequency: every 0.1 days
  • Top authors: mikkelbreum (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

1,000+ active /12,544 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

A check of server-side resources used by MB ImageChimp RSS Feed Enhancer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0145.11 ▲3.74
Dashboard /wp-admin3.32 ▼0.0356.44 ▼10.70
Posts /wp-admin/edit.php3.37 ▲0.0154.14 ▲3.48
Add New Post /wp-admin/post-new.php5.90 ▲0.0198.86 ▼10.77
Media Library /wp-admin/upload.php3.24 ▲0.0135.73 ▼1.23

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by MB ImageChimp RSS Feed Enhancer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7914.78 ▲0.372.08 ▲0.3141.74 ▲2.18
Dashboard /wp-admin2,209 ▲245.86 ▼0.03110.61 ▲9.4137.85 ▼8.74
Posts /wp-admin/edit.php2,089 ▼32.01 ▲0.0139.92 ▼3.0034.45 ▼3.79
Add New Post /wp-admin/post-new.php1,533 ▲1422.92 ▼0.25659.21 ▲20.2870.55 ▲20.90
Media Library /wp-admin/upload.php1,391 ▼04.18 ▼0.0295.83 ▼4.0242.71 ▼0.23

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
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

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
Even though everything seems fine, this is not an exhaustive test

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
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mb-imagechimp-rss-feed-enhancer/mb-imagechimp-feed-enhancer.php:28

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

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: feed, featured image, rss, mailchimp

mb-imagechimp-rss-feed-enhancer/mb-imagechimp-feed-enhancer.php 92% from 13 tests

The principal PHP file in "MB ImageChimp RSS Feed Enhancer" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("mb-imagechimp-rss-feed-enhancer.php" instead of "mb-imagechimp-feed-enhancer.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin54 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1213230
Markdown114024

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.06
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There are no PNG files in this plugin