10% easy-feed-image

Code Review | Feed Image Easy

WordPress plugin Feed Image Easy scored10%from 54 tests.

About plugin

  • Plugin page: easy-feed-image
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.5.1
  • WordPress version: 6.3.1
  • First release: Oct 15, 2020
  • Latest release: Oct 15, 2020
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: ademirdiniz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /352 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/easy-feed-image/easy-feed-image.php+15
    date_default_timezone_set(): Timezone ID '' is invalid

Server metrics [RAM: ▼1.94MB] [CPU: ▼53.88ms] Passed 4 tests

This is a short check of server-side resources used by Feed Image Easy
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.05 ▼1.415.93 ▼37.35
Dashboard /wp-admin2.07 ▼1.236.90 ▼45.53
Posts /wp-admin/edit.php2.07 ▼1.296.99 ▼41.51
Add New Post /wp-admin/post-new.php2.07 ▼3.826.63 ▼91.11
Media Library /wp-admin/upload.php2.07 ▼1.165.59 ▼33.72

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
ad_easy_feed_image_version
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Feed Image Easy
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.42 ▼0.311.60 ▼0.2745.03 ▲0.75
Dashboard /wp-admin2,192 ▲155.55 ▲0.0495.71 ▼5.2744.45 ▲3.09
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0535.69 ▼0.1835.98 ▲2.30
Add New Post /wp-admin/post-new.php1,528 ▼023.18 ▲0.16649.75 ▼43.4156.14 ▼6.60
Media Library /wp-admin/upload.php1,403 ▲34.24 ▲0.1498.61 ▼16.4641.25 ▼4.56

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/easy-feed-image/easy-feed-image.php+15
    date_default_timezone_set(): Timezone ID '' is invalid
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • ad_easy_feed_image_version
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: image, wordpress feed, xml, feed image, featured image...

easy-feed-image/easy-feed-image.php 92% from 13 tests

The main PHP script in "Feed Image Easy" version 1.0 is automatically included on every request by WordPress
The following require your attention:
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin47 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3121247

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/banner-1544x500.png6.55KB5.97KB▼ 8.87%
assets/icon-256x256.png0.88KB0.83KB▼ 4.91%
assets/banner-772x250.png3.02KB2.83KB▼ 6.15%
assets/icon-128x128.png0.46KB0.43KB▼ 4.93%