84% fade-in-fade-out-xml-rss-feed

Code Review | Fade in fade out xml rss feed

WordPress plugin Fade in fade out xml rss feed scored84%from 54 tests.

About plugin

  • Plugin page: fade-in-fade-out-...
  • Plugin version: 9.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.1
  • WordPress version: 6.3.1
  • First release: May 2, 2011
  • Latest release: Dec 1, 2022
  • Number of updates: 54
  • Update frequency: every 78.4 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /13,797 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼6.79ms] Passed 4 tests

Server-side resources used by Fade in fade out xml rss feed
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0640.06 ▲2.84
Dashboard /wp-admin3.36 ▲0.0248.91 ▼11.55
Posts /wp-admin/edit.php3.41 ▲0.0643.18 ▼5.87
Add New Post /wp-admin/post-new.php5.94 ▲0.0685.49 ▼8.64
Media Library /wp-admin/upload.php3.29 ▲0.0636.04 ▼1.11
Fade in xml rss feed /wp-admin/options-general.php?page=fade-in-fade-out-xml-rss-feed/fade-in-fade-out-xml-rss-feed.php3.2532.43

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 12 new options
New WordPress options
FIFOXMLRSSFEED_FadeWait
widget_theysaidso_widget
widget_recent-posts
db_upgraded
widget_recent-comments
FIFOXMLRSSFEED_Title
can_compress_scripts
FIFOXMLRSSFEED_rss_2
theysaidso_admin_options
FIFOXMLRSSFEED_rss_3
...

Browser metrics Passed 4 tests

A check of browser resources used by Fade in fade out xml rss feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.17 ▼0.361.84 ▲0.2743.25 ▲0.90
Dashboard /wp-admin2,199 ▲195.63 ▼0.0292.83 ▲7.9743.28 ▲2.98
Posts /wp-admin/edit.php2,104 ▲41.96 ▼0.0734.72 ▼0.8037.31 ▲0.75
Add New Post /wp-admin/post-new.php1,529 ▲123.63 ▲0.50654.72 ▼33.0954.61 ▲2.98
Media Library /wp-admin/upload.php1,404 ▲44.24 ▲0.0394.53 ▼18.8142.41 ▼4.12
Fade in xml rss feed /wp-admin/options-general.php?page=fade-in-fade-out-xml-rss-feed/fade-in-fade-out-xml-rss-feed.php9001.9922.6726.40

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/fade-in-fade-out-xml-rss-feed/fade-in-fade-out-xml-rss-feed.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

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: fade out, feed, xml, wordpress, widget...

fade-in-fade-out-xml-rss-feed/fade-in-fade-out-xml-rss-feed.php 92% from 13 tests

The main file in "Fade in fade out xml rss feed" v. 9.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 206 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected486 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP23520281
PO File24256115
JavaScript1121863
CSS12127

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.14
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
PNG images were not found in this plugin